<?php
/**
 * Created by PhpStorm.
 * User: 86158
 * Date: 2021/6/14
 * Time: 0:38
 */

namespace App\Models\news;


use App\Models\Model;

class News extends Model
{
    protected $fillable = [];

    public function cate()
    {
        return $this->hasOne(NewsCate::class,'id','cate_id');
    }
}